package cn.topevery.garden.dal.dao;

import cn.topevery.garden.entity.po.EvaluationLog;
import cn.topevery.garden.entity.query.EvaluationLogQuery;
import cn.topevery.garden.entity.query.EvaluationRulesQuery;
import cn.topevery.garden.entity.vo.EvaluationLogVO;
import cn.topevery.garden.framework.base.BaseDao;
import hw.topevery.framework.db.entity.DataPager;

import java.util.List;
import java.util.Map;

/**
 * 检查考评上报记录表
 *
 * @author code-generate
 * @date 2022-01-05
 */
public interface EvaluationLogDao extends BaseDao<EvaluationLog> {

    

    /**
     * 获取列表
     *
     * @param query
     */
    DataPager<EvaluationLogVO> listPage(EvaluationLogQuery query);

    EvaluationLog getEntityByColumn(String key,String value);

    void commit(EvaluationLog log, Integer userId);

    List<EvaluationLog> getReportList(EvaluationRulesQuery param);

    void deleteById(Integer id, Integer userId);

    List<Map<String,Object>> getAllLogForMap();
}
